#-*- coding: utf-8 -*-
'''
Created on 16/06/2013

@author: francois
'''
 
for linha in range (3):
    for coluna in range(3):
        if coluna == 2:
            print 
        else:
            print (linha, coluna),